package study.day8.t0;

import java.io.Serializable;

public class Book implements Serializable {
    private String name;
    private String author;
    private int perice;

    public Book(){

    }

    public Book(String name, String author, int perice) {
        this.name = name;
        this.author = author;
        this.perice = perice;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getAuthor() {
        return author;
    }

    public void setAuthor(String author) {
        this.author = author;
    }

    public int getPerice() {
        return perice;
    }

    public void setPerice(int perice) {
        this.perice = perice;
    }
}
